<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="format-detection" content="telephone=no">
    #parse("/h5/common/webWords.html")
    #parse("/h5/common/css.html")
    <LINK rel=stylesheet type=text/css href="http://${staticHost}/css/component.css">
    <script type="text/javascript" src="http://${staticHost}/js/jquery2.js"></script>
    <SCRIPT type=text/javascript src="http://${staticHost}/js/modernizr.custom.js"></SCRIPT>
    <SCRIPT type=text/javascript src="http://${staticHost}/js/jquery.dlmenu.js"></SCRIPT>
    <link rel="stylesheet" type="text/css" href="http://${staticHost}/css/medioadaption.css">
    <link rel="stylesheet" type="text/css" href="http://${staticHost}/css/stcss.css">
    <script src="http://${staticHost}/js/TouchSlide.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            function add0(m){return m<10?'0'+m:m };
            function getDate(tm){
                //shijianchuo是整数，否则要parseInt转换
                var time = new Date(tm);
                var y = time.getFullYear();
                var m = time.getMonth()+1;
                var d = time.getDate();
                var h = time.getHours();
                var mm = time.getMinutes();
                var s = time.getSeconds();
                return y+'-'+add0(m)+'-'+add0(d);
            }
            
            $(".moreNews").click(function () {
                var _this = $(this);
                var sign = _this.attr('sign');
                var num = _this.attr('num');
                num = num*1 + 1;
                $.ajax({
                    type:'post',
                    url:'${requestHost}/public/moreNews',
                    contentType:'application/x-www-form-urlencoded; charset=utf-8',
                    data:{
                        sign:sign,
                        num:num,
                        parentId:2
                    },
                    success: function (result) {
                        var newsList = result.result;
                        var newsJson = eval("("+newsList+")");
                        $.each(newsJson, function (i, val) {
                            var title = val.title;
                            if(title.length > 20){
                                title.substring(0, 20)+'...';
                            }
                            if('学院工作' == val.name){
                                $("#studentWorkId").append("<li><dl><div class=context_div><span><a href=/public/viewNews?source=jxjyIndex&articleId="+val.id+"&parentName="+val.name+"><div class=contextDiv style='color: #666666;'>"+title+"</a></span></div></dl></li>");
                                _this.attr('num', num);
                            }
                            if('招生信息' == val.name){
                                $("#enrollmentId").append("<li><dl><dt><a href=/public/viewNews?source=jxjyIndex&articleId="+val.id+"&parentName="+val.name+">"+title+"</a></dl></dt></li>");
                                _this.attr('num', num);
                            }
                            if('优秀学生' == val.name){
                                $("#outstandingStudentsId").append("<a href=/public/viewNews?source=jxjyIndex&articleId="+val.id+"&parentName="+val.name+"><img style='max-height: 135px; max-width: 100px; vertical-align:middle;' src=${imageHost}"+val.articleImg+"><span style=font-size:16px;>"+title+"</span></a>");
                                _this.attr('num', num);
                            }
                            if('专家讲师' == val.name){
                                $("#studentUnionId").append("<a href=/public/viewNews?source=jxjyIndex&articleId="+val.id+"&parentName="+val.name+"><img style='max-height: 135px; max-width: 100px; vertical-align:middle;' src=${imageHost}"+val.articleImg+"><span style=font-size:16px;>"+title+"</span></a>");
                                _this.attr('num', num);
                            }
                        });
                    }
                });
            });


        });
    </script>
    <style type="text/css">
        .scroll_box_more a:hover {
            background-color: #eeeeee;
            color:#666666;
        }
        .zs_news2 li{
            background:url('');
        }
        .kecheng li dl dt{
            background:url('');
        }
        .context_div{
            width:90%;
            margin:0px 0px 0px 15px;
        }
        .context_div span{
            color: #666666;
            font-size: 16px;
            width:100%;
        }
        .text{
            width:40px;
            vertical-align:top;
        }
    </style>
</head>

<body>
<div class="head clear">
  <div class="logo"><img src="http://${staticHost}/images/mxzxlogo.png" style=" width: 135px;height: auto;padding-top: 12px;padding-left: 5px;"/></div>
  <div style="float: left;padding-top: 20px;padding-left: 25px;"><h2 style="margin-top: 6%;color: green;">学历学位</h2></div>
</div>
#parse("/h5/common/rightMenu.html")
<SCRIPT type=text/javascript>
$(function(){
	$( '#dl-menu' ).dlmenu();
});
</SCRIPT>
<div class="banner clear">
  <div class="sliderbox" id="sliderbox1">
    <div class="bd">
      <div class="tempWrap">
        <ul>
            #foreach($jxjy in $jxjyList)
                #if(!$jxjy.articleImg)#else<li><a class="pic" href="javascript:void(0)"><img src="${imageHost}$jxjy.articleImg" alt=""></a></li>#end
            #end
        </ul>
      </div>
    </div>
    <div class="hd">
      <ul>
        <li class="on"></li>
        <li></li>
        <li></li>
      </ul>
    </div>
    <script src="http://${staticHost}/js/slider1.js"></script> 
  </div>
</div>

<div class="mbox clear">
    <div class="banji">
      <ul>
        <li>
          <a href="/curriculum/auth/toCurriculum?parentId=10"><img src="http://${staticHost}/images/fdkc.png"><span>辅导课程</span></a>
          <a href="/continuingEducation/auth/examinationGroup"><img src="http://${staticHost}/images/qun.png"><span>辅导动态</span></a>
          <a href="/continuingEducation/auth/recommendEnroll"><img src="http://${staticHost}/images/tjbm01.png"><span>推荐报名</span></a>
          <a href="/continuingEducation/auth/enrollmentReport"><img src="http://${staticHost}/images/y09.png"><span>到校学习</span></a>
          </li>       
      </ul>
    </div>
</div>

<div class="mbox">
  <div class="mtits clear"><span>学院工作</span><em>/ Student work</em></div>
  <div class="mx_news">
     <ul>
      <li>
          <a href="/public/viewNews?source=jxjyIndex&articleId=$headerStudentWork.id&parentName=$headerStudentWork.name">
              #if(!$headerStudentWork.articleImg)#else<img src="${imageHost}$headerStudentWork.articleImg" />#end

          </a>
          <span>
              <a href="/public/viewNews?source=jxjyIndex&articleId=$headerStudentWork.id&parentName=$headerStudentWork.name">#if($headerStudentWork.title.length()>40)$headerStudentWork.title.substring(0,40)...#else$headerStudentWork.title#end</a>
          </span>
      </li>
    </ul>
  </div>
  <div class="kecheng clear">
      <ul id="studentWorkId">
          #foreach($studentWork in $studentWorkList)
            <li>
                <dl>
                    <div class="context_div">
                        <span>
                            <a href="/public/viewNews?source=jxjyIndex&articleId=$studentWork.id&parentName=$studentWork.name">
                                <div class="contextDiv">#if($studentWork.title.length()>40)$studentWork.title.substring(0,40)...#else$studentWork.title#end</div>
                            </a>
                        </span>
                    </div>
                </dl>
            </li>
          #end
     </ul>
     
  </div>
  <div class="scroll_box_more"><a onclick=return false disabled class="moreNews" sign="学院工作" num="1">点击查看更多</a></div>
</div>

<div class="mbox">
    <div class="mtits clear">
        <span>招生信息</span><em>/ Enrollment</em>
    </div>
    <div class="mx_news">
        <ul>
            #if(!$headerEnrollmentList.title)#else
            <li>
                <a href="/public/viewNews?source=jxjyIndex&articleId=$headerEnrollmentList.id&parentName=$headerEnrollmentList.name">
                    #if(!$headerEnrollmentList.articleImg)#else<img src="${imageHost}$headerEnrollmentList.articleImg" />#end
                </a>
                <span>
					  <a href="/public/viewNews?source=jxjyIndex&articleId=$headerEnrollmentList.id&parentName=$headerEnrollmentList.name">#if($headerEnrollmentList.title.length()>40)$headerEnrollmentList.title.substring(0,40)...#else$headerEnrollmentList.title#end</a>
				  </span>
            </li>
            #end
        </ul>
    </div>
  <div class="kecheng clear">
    <ul id="enrollmentId">
        #foreach($enrollment in $enrollmentList)
            <li>
                <dl>
                    <div class="context_div">
                    <span>
                        <a href="/public/viewNews?source=jxjyIndex&articleId=$enrollment.id&parentName=$enrollment.name">
                            <div class="contextDiv">#if($enrollment.title.length()>40)$enrollment.title.substring(0,40)...#else$enrollment.title#end</div>
                        </a>
                    </span>
                    </div>
                </dl>
            </li>
        #end
    </ul>
  </div>
  <div class="scroll_box_more"><a onclick=return false disabled class="moreNews" sign="招生信息" num="1">点击查看更多</a></div>
</div>

<div class="mbox">
    <div class="mtits clear"><span>优秀学生</span><em>/ Outstanding students</em></div>
    <div class="scroll_box2 clear">
        <ul>
            <li id="outstandingStudentsId">
                #foreach($outstandingStudents in $outstandingStudentsList)
                <a href="/public/viewNews?source=jxjyIndex&articleId=$outstandingStudents.id&parentName=$outstandingStudents.name">
                    <img src="${imageHost}$outstandingStudents.articleImg" style="max-height: 135px; max-width: 100px; vertical-align:middle;">
                    <span style="font-size:16px;color:#666">#if($outstandingStudents.title.length()>20)$outstandingStudents.title.substring(0,20)...#else$outstandingStudents.title#end</span>
                </a>
                #end
            </li>
        </ul>
    </div>
    <div class="scroll_box_more"><a onclick=return false disabled class="moreNews" sign="优秀学生" num="1">点击查看更多</a></div>
</div>

<div class="mbox">
  <div class="mtits clear"><span>专家讲师</span><em>/ Student union</em></div>
  <div class="scroll_box2 clear">
      <ul>
         <li id="studentUnionId">
             #foreach($studentUnion in $studentUnionList)
                <a href="/public/viewNews?source=jxjyIndex&articleId=$studentUnion.id&parentName=$studentUnion.name">
                    <img src="${imageHost}$studentUnion.articleImg" style="max-height: 135px; max-width: 100px; vertical-align:middle;">
                    <span style="font-size:16px;color:#666">#if($studentUnion.title.length()>20)$studentUnion.title.substring(0,20)...#else$studentUnion.title#end</span>
                </a>
             #end
         </li>
     </ul>
  </div>
  <div class="scroll_box_more"><a onclick=return false disabled class="moreNews" sign="专家讲师" num="1">点击查看更多</a></div>
</div>
#parse("/h5/common/recordBottom.html")
</body>
</html>
